using System.Collections.Generic;
using Dyn.News.Models;
using Orchard.ContentManagement;
using Orchard;
using Dyn.Media.Models;
using Dyn.News.ViewModels;

namespace Dyn.News.Services {
    public interface ICategoryervice : IDependency {
        NewsCategoryPart Get(string path);
        ContentItem Get(int id, VersionOptions versionOptions);
        IEnumerable<NewsCategoryPart> Get();
        IEnumerable<NewsCategoryPart> Get(VersionOptions versionOptions);
        IEnumerable<NewsCategoryPart> Get(VersionOptions versionOptions,int idParent);
        void Delete(ContentItem Category);
        IEnumerable<NewsCategoryPart> AllParent();


        MediaFile GetCurrentMediaFile(NewsCategoryPart part);
        IList<ContentCategoryMenuWidgetViewModel> GetCategories(NewsCategoryMenuWidgetPart part);
        IList<ContentCategoryWidgetViewModel> GetCategoriesWidget(NewsCategoryWidgetPart part);
        //IList<ContentProduct_CategoryViewModel> GetCategories(ArPart part);
        IEnumerable<NewsCategoryPart> Get(int skip, int count, VersionOptions versionOptions);
    }
}